
export default function onButtonClick(props, id) {
    switch (id) {
        case 'main_group'://
            break;
        case 'add'://新增
            this.handleAdd()
            break;
        case 'update'://修改
            this.handleRepair()
            break;
        case 'delete'://删除
            this.handleDel()
            break;  
        case 'save'://保存
            this.handleSave()
            break; 
        case 'cancel'://取消
            this.handleCancel()
            break; 
        case 'refresh'://刷新
            this.reFresh()
            break; 
        default:
        break;

    }
}
